package com.llgz.hotelmanageapi.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 退房登记信息
 * </p>
 *
 * @author Bernie_fang
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CheckoutInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 入住编号
     */
    private String checkinId;

    /**
     * 客房编号
     */
    private Integer roomId;

    /**
     * 房价
     */
    private Double roomPrice;

    /**
     * 押金
     */
    private Double deposit;

    /**
     * 住宿天数
     */
    private Integer checkinDay;

    /**
     * 住宿费用
     */
    private Double accommodationExpenses;

    /**
     * 店内消费
     */
    private Double hotelConsumption;

    /**
     * 电话费
     */
    private Double telPrice;

    /**
     * 餐费
     */
    private Double mealPrice;

    /**
     * 实际应收
     */
    private Double actualReceive;

    /**
     * 应退押金
     */
    private Double refundableDeposit;

    /**
     * 实收
     */
    private Double netReceipts;

    /**
     * 找零
     */
    private Double giveChange;

    /**
     * 操作员
     */
    private String operator;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;

    /**
     * 软删除
     */
    @TableLogic
    private Boolean deleted;


}
